Skip to content

chore(macos): day view column UTC boundary parity (follow-up to #5229) - #5232

Open
tyler-dane wants to merge 7 commits into
mainfrom
cursor/macos-day-column-tz-parity-0084
Open

tyler-dane wants to merge 7 commits into
mainfrom
cursor/macos-day-column-tz-parity-0084

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What and why

macOS parity for web calendar timezone hint (pin ?? hint ?? device). Reviewer confirmed the ViewStore chain matches web.

Must-fixes in latest push:

  1. Restore EffectiveTimeZone.identifier to pin/device/demo before initial sundayWeekViewStart; re-anchor week + refresh visible range when hint changes effective zone.
  2. Pick hint from full calendars list (not visibleCalendars()), matching web pickCalendarTimeZoneHint.

Verify

ViewStoreCalendarTimeZoneTests, DayCalendarColumnsTests, new NativeCalendarRootModelInitialWeekAnchorTests, CalendarTimeZoneHintTests.

Not ready for merge until reviewer re-approves after CI on head.

Open in Web Open in Cursor 

Document follow-up to align native isTimedEventOnDay with web query-window overlap.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
cursoragent and others added 6 commits November 12, 2026 05:34
Match web #5229 by overlapping timed events with dayEventQueryRange instead of
civil-day start matching; add boundary XCTest and optional anchor timezone.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Round-tripping query-window strings through parseInEffectiveTimeZone dropped
Denver-boundary matches; use dayEventQueryBounds directly.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Pick provider zones when effective is UTC-like, wire hint in rebuildPresentation,
and regression-test via dayViewCalendarsForLayout at the Nov 12 UTC boundary.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…mn-tz-parity-0084

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Mirror web pin-then-hint-then-browser resolution so fetch windows, anchors,
and day columns share one zone; drop the DayCalendarColumns side channel.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Set EffectiveTimeZone before the first sundayWeekViewStart, re-anchor when a
calendar hint changes the effective zone, and mirror web by picking the hint
from the full calendar list rather than visible rows only.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants